package com.cl.entity;

import java.io.Serializable;

import javax.persistence.*;

import com.cl.entity.common.DBObject;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the BASE_AUTHOR database table.
 * 
 */
@Entity
@Table(name="BASE_AUTHOR")
@NamedQuery(name="BaseAuthor.findAll", query="SELECT b FROM BaseAuthor b")
public class BaseAuthor implements Serializable,DBObject {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Long id;

	@Column(name="CENSOR_FLAG")
	private String censorFlag;

	private String corp;

	@Column(name="DOC_FLAG")
	private String docFlag;

	@Column(name="EDIT_FLAG")
	private String editFlag;

	@Column(name="F_CENSOR_FLAG")
	private String fCensorFlag;

	@Column(name="F_COLLATE_FLAG")
	private String fCollateFlag;

	@Column(name="IDENTITY_CARD")
	private String identityCard;

	private String name;

	@Column(name="NAME_ENGLISH")
	private String nameEnglish;

	@Column(name="NAME_JAPANESE")
	private String nameJapanese;

	private String note;

	private BigDecimal personnum;

	private String sex;

	private String telephone;

	@Column(name="THESIS_FLAG")
	private String thesisFlag;

	private String title;

	@Column(name="TRAN_FLAG")
	private String tranFlag;

	public BaseAuthor() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCensorFlag() {
		return this.censorFlag;
	}

	public void setCensorFlag(String censorFlag) {
		this.censorFlag = censorFlag;
	}

	public String getCorp() {
		return this.corp;
	}

	public void setCorp(String corp) {
		this.corp = corp;
	}

	public String getDocFlag() {
		return this.docFlag;
	}

	public void setDocFlag(String docFlag) {
		this.docFlag = docFlag;
	}

	public String getEditFlag() {
		return this.editFlag;
	}

	public void setEditFlag(String editFlag) {
		this.editFlag = editFlag;
	}

	public String getFCensorFlag() {
		return this.fCensorFlag;
	}

	public void setFCensorFlag(String fCensorFlag) {
		this.fCensorFlag = fCensorFlag;
	}

	public String getFCollateFlag() {
		return this.fCollateFlag;
	}

	public void setFCollateFlag(String fCollateFlag) {
		this.fCollateFlag = fCollateFlag;
	}

	public String getIdentityCard() {
		return this.identityCard;
	}

	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNameEnglish() {
		return this.nameEnglish;
	}

	public void setNameEnglish(String nameEnglish) {
		this.nameEnglish = nameEnglish;
	}

	public String getNameJapanese() {
		return this.nameJapanese;
	}

	public void setNameJapanese(String nameJapanese) {
		this.nameJapanese = nameJapanese;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public BigDecimal getPersonnum() {
		return this.personnum;
	}

	public void setPersonnum(BigDecimal personnum) {
		this.personnum = personnum;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getThesisFlag() {
		return this.thesisFlag;
	}

	public void setThesisFlag(String thesisFlag) {
		this.thesisFlag = thesisFlag;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTranFlag() {
		return this.tranFlag;
	}

	public void setTranFlag(String tranFlag) {
		this.tranFlag = tranFlag;
	}

	@Override
	public Object getPrimaryId() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setDcCreate(Date dcCreate) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Date getDcCreate() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setLastUpdate(Date lastUpdate) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Date getLastUpdate() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setDcEditor0(String dcEditor0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public String getDcEditor0() {
		// TODO Auto-generated method stub
		return null;
	}

}